set version=1.0.0
set name=MulticastTestTool
set filename=main

rmdir "dist" /q /s
pyinstaller -F  %filename%.py

echo d | xcopy "config.json" "dist"

cd "dist"
rename "%filename%.exe" "%name%.exe"

".\%name%.exe"

pause
